home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xm / XmTextSetMaxLength.z / XmTextSetMaxLength
Text File  |  1998-10-30  |  3KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmTTTTeeeexxxxttttSSSSeeeettttMMMMaaaaxxxxLLLLeeeennnnggggtttthhhh((((3333XXXX))))    UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV    XXXXmmmmTTTTeeeexxxxttttSSSSeeeettttMMMMaaaaxxxxLLLLeeeennnnggggtttthhhh((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmTTTTeeeexxxxttttSSSSeeeettttMMMMaaaaxxxxLLLLeeeennnnggggtttthhhh - A Text function that sets the value of
  10.           the current maximum allowable length of a text string
  11.           entered from the keyboard
  12.  
  13.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.           #include <Xm/Text.h>
  15.           vvvvooooiiiidddd XXXXmmmmTTTTeeeexxxxttttSSSSeeeettttMMMMaaaaxxxxLLLLeeeennnnggggtttthhhh(
  16.           WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
  17.           iiiinnnntttt mmmmaaaaxxxx____lllleeeennnnggggtttthhhh);
  18.  
  19.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  20.           This page documents Motif 2.1.
  21.  
  22.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  23.           XXXXmmmmTTTTeeeexxxxttttSSSSeeeettttMMMMaaaaxxxxLLLLeeeennnnggggtttthhhh sets the value of the current maximum
  24.           allowable length of the text string in the Text widget. The
  25.           maximum allowable length prevents the user from entering a
  26.           text string from the keyboard that is larger than this
  27.           limit.  Strings that are entered using the XXXXmmmmNNNNvvvvaaaalllluuuueeee (or
  28.           XXXXmmmmNNNNvvvvaaaalllluuuueeeeWWWWccccssss) resource, or the XXXXmmmmTTTTeeeexxxxttttSSSSeeeettttSSSSttttrrrriiiinnnngggg (or
  29.           XXXXmmmmTTTTeeeexxxxttttSSSSeeeettttSSSSttttrrrriiiinnnnggggWWWWccccssss) function ignore this resource.
  30.  
  31.           _w_i_d_g_e_t    Specifies the Text widget ID
  32.  
  33.           _m_a_x__l_e_n_g_t_h
  34.                     Specifies the maximum allowable length of the text
  35.                     string
  36.  
  37.           For a complete definition of Text and its associated
  38.           resources, see XXXXmmmmTTTTeeeexxxxtttt(3).
  39.  
  40.      RRRREEEELLLLAAAATTTTEEEEDDDD
  41.           XXXXmmmmTTTTeeeexxxxtttt(3), XXXXmmmmTTTTeeeexxxxttttSSSSeeeettttSSSSttttrrrriiiinnnngggg(3), and XXXXmmmmTTTTeeeexxxxttttSSSSeeeettttSSSSttttrrrriiiinnnnggggWWWWccccssss(3).
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/24/98)
  64.  
  65.  
  66.  
  67.